<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link href="<s:url value="/style.css"/>" rel="stylesheet"
	type="text/css" />
<title>Employee List</title>
<style>
	#employeeTable td{
		text-align:center;
	}
</style>
</head>
<body>
	<jsp:include page="/navigation/navigation.jsp" />
	<div id="mainBox">
		<center>

			<div id="EmployeeList">
				<h3>Doctors</h3>
				<table width="800px" id="employeeTable">
					<col width="50" />
					<col width="120" />
					<col width="150" />
					<col width="130" />
					<col width="100" />
					<col width="100" />
					<thead>
						<tr>
							<th>ID</th>
							<th>UserName</th>
							<th>Name</th>
							<th>Department</th>
							<th>Title</th>
							<th>Visitations</th>
						</tr>
					</thead>
					<tbody>
						<s:iterator value="retrievedDoctorList">
							<tr>
								<td><s:property value="id" /></td>
								<td><s:property value="username" /></td>
								<td><s:property value="name" /></td>
								<td><s:property value="department" /></td>
								<td><s:property value="title" /></td>
								<td><a href="<s:url action='initDoctorVisitationListPage'>
								<s:param name="currentEmployeeId" value="%{id}" /></s:url>">Visitations</a>
								</td>
							</tr>
						</s:iterator>
					</tbody>
				</table>
			</div>

		</center>
	</div>
</body>
</html>